export default (store) => {
    store.subscribe((mutation,state) => {
        console.log(mutation);
        console.log(state);
        console.group('提交的mutation类型是:%c'+ mutation.type + ' 操作时间:%c' + new Date().toLocaleTimeString(),"color:red","color:blue");
        console.log('荷载的参数payload的值:',mutation.payload);
        console.log('当前的状态值',state);
        console.groupEnd();
    })
}